from datetime import datetime, timedelta
import sys

start_date = datetime.strptime(sys.argv[1], "%Y-%m-%d")
end_date = datetime.strptime(sys.argv[2], "%Y-%m-%d")

while start_date < end_date:
    start_date = start_date + timedelta(days=1)
    start_formatted_date = start_date.strftime("%Y%m%d")
    print(start_formatted_date)
    # sh  xxx start_formatted_date